{% extends 'base.html' %}

{% block content %}
<form class="form-signin" method="post">
  <h2 class="form-signin-heading">登录</h2>
  <input type="text" name="username" class="form-control" placeholder="用户名" required="" autofocus="" {% if username %} value="{{ username }}" {% endif %}>
  <input type="password" name="password" class="form-control" placeholder="密码" required="">
  {#
  <div class="checkbox">
    <label>
      <input type="checkbox" value="remember-me"> 记住我
    </label>
  </div>
  #}
  <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
</form>
{% endblock %}